﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Configuration;

namespace DAO
{
    public class Connection
    {
        public Connection()
        {
        }

        public static SqlConnection GetConnection()
        {
            SqlConnection connection = new SqlConnection(ConfigurationSettings.AppSettings["connectionString"]);
            connection.Open();
            return connection;
        }
    }
}
